package com.mx.zb.mng.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.mx.zb.mng.bo.AgentLevel;
import com.mx.zb.mng.utils.db2.Page;

@Mapper
public interface AgentLevelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AgentLevel record);

    int insertSelective(AgentLevel record);

    AgentLevel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AgentLevel record);

    int updateByPrimaryKey(AgentLevel record);
    
    Page<AgentLevel> queryPage(AgentLevel record);
    
    int save(AgentLevel record);
    
    
    List<AgentLevel> selectAll();

	AgentLevel findByName(AgentLevel o);

    
    

}